package cn.itsource.service;

import cn.itsource.pojo.domain.Department;
import cn.itsource.pojo.domain.Employee;
import cn.itsource.pojo.dto.DepartmentDto;
import cn.itsource.pojo.query.PageQueryWrapper;
import cn.itsource.result.JSONResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lifan
 * @since 2024-09-10
 */
public interface IDepartmentService extends IService<Department> {
    JSONResult selectDept(PageQueryWrapper<DepartmentDto> departmentDto);

    JSONResult insert(Department department);

    JSONResult update(Department department);

    List<DepartmentDto> typeTree();

    List<Employee> getEmployeeName();

    void deleteId(Long[] ids);
}
